
def test(a,b):
    def test2(c):
        print(a+b+c)
    return test2

t = test(1,2)
t(3)
t(4)

